package de.slothsoft.wasbinich.android;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.AsyncTask;

public class BackgroundSound extends AsyncTask<Activity, Void, Void> {

    @Override
    protected Void doInBackground(Activity... params) {
	MediaPlayer player = MediaPlayer.create(params[0], R.raw.music_toads_march);
	player.setLooping(true); // Set looping
	player.setVolume(100, 100);
	player.start();
	return null;
    }

}
